Synthesis of an electroluminescent polymer and its non-doped light-emitting diodes with stable green emission