Cr(VI) adsorption on functionalized amorphous and mesoporous silica from aqueous and non-aqueous media