Magnetic-Resonance Frequency Shifts in a Tandem Cs–K Magnetometer Induced by Spin Exchange