Metal-polymer Ag nanocomposites based on hydrophilic nitrogen- and sulfur-containing copolymers: control of nanoparticle size