Thermally Rearranging Polyimide Networks for High-Temperature Applications