Energy coupling in an ion pump. The reprotonation switch of bacteriorhodopsin.