Carbon isotope fractionation during the precipitation of calcium carbonate