Ceramic-matrix composites