In situ synthesis of Ag nanoparticles in polyelectrolyte multilayers