The mechanics of airway closure