Multiscale modeling of coupled thermo-hydro-mechanical analysis of heterogeneous porous media