Dual functionality of PTSA as electrolyte and dopant in the electrochemical synthesis of polyaniline, and its effect on electrical properties