EXAFS and DFT study of the cadmium and lead adsorption on modified silica nanoparticles.