Functionalized silicas for analytical and environmental applications