Regulatory and enzymatic mechanisms controlling the fate of dioxygen and dinitrogen in proteobacteria.