Isotherms and thermodynamics of perchlorate adsorption