Origin and evolution of nif genes.