Thermal-shock resistance of heterogeneous ceramics and refractories