Biogenic AgNPs synthesized via endophytic bacteria and its biological applications