Electrochemical and luminescent properties of poly(fluorene) derivatives for optoelectronic applications