Longitudinal diffusion coefficients and test of the generalized Einstein relation for Rb+–Kr, Rb+–Xe, K+–Kr, and K+–Xe