In situ preparation, electrospinning, and characterization of polyacrylonitrile nanofibers containing silver nanoparticles