A comparative study of the mechanical properties and failure behavior of carbon fiber/epoxy and carbon fiber/polyamide 6 unidirectional composites