A thermo‐hydro‐mechanical model for unsaturated soils based on the effective stress concept