Kinetics of Mg partition and Mg stable isotope fractionation during its incorporation in calcite