Treatment of exacerbations as a predictor of subsequent outcomes in patients with COPD