In situ Raman spectroelectrochemical study of self-doped polyaniline degradation kinetics