Photoinduced generation of noble metal nanoparticles into polymer matrices and methods for the characterization of the derived nanocomposite films