Probing the thermal state of the intergalactic medium at z > 5 with the transmission spikes in high-resolution  Ly α forest spectra