Two-dimensional mesoporous materials: From fragile coatings to flexible membranes