Surface effect on the size evolution of surface plasmon resonances of Ag and Au nanoparticles dispersed within mesoporous silica