Marine biogeochemical nitrogen cycling through Earth’s history