Electronic tool helps reduce deaths from pneumonia in emergency departments