Effect of anion and cation exchange on the electrochemical properties of poly(3-methylthiophene) in aqueous solutions