H-, He-like recombination spectra – III. n-changing collisions in highly excited Rydberg states and their impact on the radio, IR, and optical recombination lines