Mechanism of light-dependent proton translocation by bacteriorhodopsin