Optical and Electrochemical Transducers Based on Functionalized Conjugated Polymers