Regulation of oxygen diffusion in legume nodules