In vivo and in vitro studies on ATP and electron donors to nitrogenase in Rhodospirillum rubrum