Influence of Thermal Treatment on Doped Polyaniline Studied by Resonance Raman Spectroscopy