Adiabaticity of emittance exchange due to crossing of the coupling resonance