Synthesis and electrical properties of functionalized polyanilines