Hybrid composites with self-diagnosing function for preventing fatal fracture