Thermal expansion and stress relaxation of metal-matrix composites