Initial management of pneumonia and sepsis: factors associated with improved outcome