A photo-functional electro-optic polyimide with excellent high-temperature stability