Studies on metal nanoparticles embedded in functionalized silicate sol gel matrix and their applications