Risk stratification and prognosis of acute cardiac events in hospitalized adults with community-acquired pneumonia.