Electrochemical polymerization of aniline