Exceptional high selectivity of hydrogen/methane separation on a phosphonate-based MOF membrane with exclusion of methane molecules.