COPD is associated with increased mortality in patients with community-acquired pneumonia