Nuclear magnetic resonance studies of biological and biogeochemical processes