Mechanism of primary proton transfer in bacteriorhodopsin.