Heating of the thermal electrons in the coma of comet P/Halley