A unifying framework for dinitrogen fixation in the terrestrial biosphere