Resonant transfer excitation in collisions of F6+ and Mg9+ with H2.