Properties of polyaniline formed at tin dioxide electrodes in weak acid solution: effect of the counterion