Synthesis and electroluminescent properties of a novel 1,3,4-oxadiazole-containing polymer