The natural history of community-acquired pneumonia in COPD patients: a population database analysis