Preparation of conductive polyaniline solutions for electronic applications