Charge exchange as a recombination mechanism in high-temperature plasmas