Positioning a patient to minimize the work of breathing