Determination of the medium-speed diesel engine thermal state taking into account the coolant boiling