Novel copolymers for electroluminescent devices