Thermal conductivity of partially saturated microstructures