Cognitive competence at the onset of West syndrome: correlation with EEG-patterns and visual function