Thermal and optical properties of some phosphorus‐containing poly(1,3,4‐oxadiazole‐ester‐imide)s