Study of stability of high‐temperature polyimides using TG/MS technique