Fatigue damage and lifetime prediction of fiber-reinforced ceramic-matrix composites