Immobilization of bacteriorhodopsin and orientation of its transition moment in purple membrane