Synthesis and electrical properties of polymer composites with polyaniline nanoparticles