Thermal shock fracture in unidirectional fibre-reinforced ceramic-matrix composites