Polyaniline, spectroelectrochemistry, display and battery