Pulmonary function and the pathophysiology, diagnosis, and treatment of acute respiratory failure in critically ill and injured patients