Effect of stabilizing agent on the morphology and optical properties of silver nanoparticles