A continuum damage model to simulate failure in composite plates under uniaxial compression