Electrochemical generation of light in conjugated polymers