Electrochemical polymerization of aromatic amines