Shear versus dilatational damage mechanisms in the compressive failure of fibre-reinforced composites