Controlled Synthesis of Block Copolymers Containing Side Chain Thiophene Units and Their Use in Electrocopolymerization with Thiophene and Pyrrole