Self-monitoring and self-correcting polymer fibers coated with carbon nanotubes