Developing a migraine attack prediction system using resting-state EEG