Synthesis and electrical characteristics of polyaniline nanoparticles and their polymeric composite