Nitrogen fixation and hydrogen metabolism in photosynthetic bacteria.