Biogeochemistry of the stable hydrogen isotopes