Synthesis and application of 2D porous materials