Excitation energies of a water-bridged twisted retinal structure in the bacteriorhodopsin proton pump