Electrosyntheses, characterizations and electrochromic properties of a copolymer based on 4,4′-di(N-carbazoyl)biphenyl and 2,2′-bithiophene