Multielectron spectroscopy: energy levels of Kn+ and Rbn+ ions (n = 2, 3, 4)