From prevention to diagnosis and treatment: biomedical applications of metal nanoparticle-hydrogel composites.