Hybrid coatings containing silver nanoparticles generated in situ in a thiol-ene photocurable system