Design and additive manufacturing of thermal metamaterial with high thermal resistance and cooling capability