Structural, photocatalytic and optical applications of biologically synthesized silver nanoparticles