The performance of thermoplastic and thermoset composites subjected to impact loading