Quantum efficiency of the photochemical cycle of bacteriorhodopsin