Dependence of Optical and Microstructure Properties of Thiol-Capped Silver Nanoparticles Embedded in Polymeric Matrix