Atomic resolution structures and the mechanism of ion pumping in bacteriorhodopsin.