Comparison of pressure support ventilation (PSV) and intermittent mandatory ventilation (IMV) during weaning in patients with acute respiratory failure.