Removal of uranium(VI) and thorium(IV) ions from aqueous solutions by functionalized silica: kinetic and thermodynamic studies