Heating of metals in swift heavy ion tracks by electron–ion energy exchange