Relationship between the thermal shock behavior and the cutting performance of a functionally gradient ceramic tool