Syntheses, characterization and electrical and opto-electronic properties of polymers with and without sensitizers