Heat storage in unsaturated soils: from theory to application