Primary photoinduced protein response in bacteriorhodopsin and sensory rhodopsin II.