Syntheses and characterization of electroactive and photoactive 2,7-carbazolenevinylene-based conjugated oligomers and polymers