Synthesis of oligomeric anilines