Causes of brain dysfunction in acute coma: a cohort study of 1027 patients in the emergency department