A mechanism for nitrate transport and reduction