Nondestructive Testing of Defects in Polymer–Matrix Composite Materials for Marine Applications Using Terahertz Waves