Residual strength and toughness of damaged composites