Triple oxygen isotopes in biogenic and sedimentary carbonates