Investigation of polymer-dopant interactions at polyaniline-modified electrodes : in situ analysis by FTIR spectroscopy