Rock thermal properties from well-logging data accounting for thermal anisotropy