Polymers of Intrinsic Microporosity and Thermally Rearranged Polymer Membranes for Highly Efficient Gas Separation