Dynamic mechanical behaviour and thermal degradation of undoped polyaniline