Line emission from charge transfer with atomic hydrogen at thermal energies