Metabolic regulation of nitrogen fixation in Rhodospirillum rubrum.