In situ Fourier-transform infrared spectroscopy studies of inorganic ions adsorption on metal oxides and hydroxides.