Temperature variation of the plasma sheet during substorms