Synthesis and comparative study on the antimicrobial activity of hybrid materials based on silver nanoparticles