Solid-State Chemical Transformations to Enhance Gas Capture in Benzoxazine-Linked Conjugated Microporous Polymers