Structures and properties of closed‐cell polyimide rigid foams