FTIR spectroscopic and conductivity study of the thermal degradation of polyaniline films