Fundamentals of EEG spectral analysis