Impact of antibiotic guideline compliance on duration of mechanical ventilation in critically ill patients with community-acquired pneumonia.