Modeling thermal fatigue damage in metal-matrix composites