A Surface Crack in a Graded Coating Bonded to a Homogeneous Substrate under Thermal Loading