Failure detection and monitoring in polymer matrix composites subjected to static and dynamic loads using carbon nanotube networks