Relative Abundances of Oxygen and Carbon Isotopes in Carbonate Rocks