Spectroelectrochemical investigations of aniline–thiophene copolymers in acetonitrile