Nonadiabatic heating of the central plasma sheet at substorm onset