Pair excitation of atoms in radiative collisions