Application of fracture mechanics to heterogeneous systems — prediction of fatigue life of ceramics