Mechanism of cation exchange on silica gels