Wavelengths and energy levels of the K i isoelectronic sequence from copper to molybdenum