The oyxgen and hydrogen isotope geochemistry of ocean sediments and shales