High-throughput gas separation by flexible metal–organic frameworks with fast gating and thermal management capabilities