Synthesis and properties of new electroluminescent polymers possessing both hole and electron-transporting units in the main chain