Binding of calcium ions to bacteriorhodopsin.