In situ formation of silver nanoparticles in poly(methacrylic acid) hydrogel for antibacterial applications