A wavelet based analysis of energy redistribution in scalp EEG during epileptic seizures