Thermal spike model in the electronic stopping power regime