Polymer-dimer distribution in the electrochemical synthesis of polyaniline