Sandwich membranes through a two-dimensional confinement strategy for gas separation