An amide substituted dithienylpyrrole based copolymer: its electrochromic properties