The electron energy loss rate due to radiative recombination