Prognostic value of electroencephalography and evoked potentials in the early course of malignant middle cerebral artery infarction