Synthesis, optical and electroluminescent properties of an alternating copolymer of triphenylamine and fumaronitrile