In situ ATR-FTIR studies on the competitive adsorption of arsenate and phosphate on ferrihydrite.