Synthesis, Properties, and Gas Separation Studies of a Robust Diimide-Based Microporous Organic Polymer