Determination of the mean soil temperature for evaluation of heat flux in soil