Double-electron capture and radiative stabilization processes in slow ion–atom collisions