Calculation of the nonstationary temperature field in the transient layer of a sliding contact