pathophysiology of metabolic encephalopathy