Treatment of respiratory failure in COPD