A multielectrochromic copolymer based on pyrrole and thiophene derivatives