Major adverse events in critically ill patients with acute respiratory distress syndrome