Prediction of thermal fatigue life of ceramics