Mechanism of Proton Transfer in Bacteriorhodopsin