Selective gas diffusion in two-dimensional MXene lamellar membranes: insights from molecular dynamics simulations