Association of hypercapnia on admission with increased length of hospital stay and severity in patients admitted with community-acquired pneumonia: a prospective observational study from Pakistan