Particle size tuning in silver-polyacrylonitrile nanocomposites