Absolute photoionization cross sections with ultra-high energy resolution for Ar, Kr, Xe and N2 in inner-shell ionization regions