Electrochemical and spectroelectrochemical comparison of alternated monomers and their copolymers based on carbazole and thiophene derivatives