The gas-phase ligand exchange of select magnesium and copper beta-diketonate complexes.