A robust two–dimensional layered metal–organic framework for efficient separation of methane from nitrogen