Synthesis of Nanoparticles in Silicate Matrix and Stimuli Responsive Nanocomposite Polymer Films