Genetics of Nitrogen Fixation in Photosynthetic Bacteria