Timing of previous hospitalizations impacts outcomes in hospitalized patients with CAP