Experimental and theoretical cross sections for photoionization of metastable and atoms near threshold