Photochemistry and dark equilibrium of retinal isomers and bacteriorhodopsin isomers