Delamination failure under compression of composite laminates and sandwich structures