Respiratory compliance and resistance in mechanically ventilated patients with acute respiratory failure