Molecular sieving in bilayer silica