Synthesis and structural and optical properties of mesoporous silica containing silver nanoparticles