Impact of guideline-consistent therapy on outcome of patients with healthcare-associated and community-acquired pneumonia.