Anion-dependent transition of two acidic forms of bacteriorhodopsin