The chemical synthesis of conductive polyaniline doped with dicarboxylic acids