Microporous Networks of High-Performance Polymers: Elastic Deformations and Gas Sorption Properties