Thermal stabilities and the thermal degradation kinetics of polyimides