Measurements of charm mixing and CP violation using D0→K±π∓ decays