Optical and electrical properties of fluorene-based pi-conjugated polymers