On the Thermal Stability of Polyimides for Space Application