Regulation of nitrogen fixation genes