Spectroscopic study on the structural differences of thermally induced cross-linking segments in emeraldine salt and base forms of polyaniline.