An efficient inversion method to interpret distributed temperature measurement of horizontal wells in shale gas reservoirs