Thermal degradation of some polyimides