Photoisomerization of the chromophore in bacteriorhodopsin during the proton pumping photocycle.