The importance of polyimide foam stabilizers in high-performance battery components: a temperature regulator that improves energy storage efficiency