Brain-computer interface for the epileptic seizures prediction and prevention