A 58-year-old man with COPD presents with acute hypercapnic respiratory failure.ABG shows pH 7.28, PaCO2 72 mmHg, PaO2 58 mmHg on room air.Which intervention is MOST appropriate as first-line therapy?