Electronic control of pH at sulfonated polyaniline electrodes