Effects of anion binding on the deprotonation reactions of halorhodopsin.