The effect of thermal decarbonation on stable isotope compositions of carbonates