Predictors of mortality in mechanically ventilated patients