Design, characterization, optical and photophysical properties of novel thiophene monomers and polymers containing pyrene moieties linked via rigid and flexible spacers