In situ FTIR Spectroscopy of Polyaniline