Real-time triggering of a Functional Electrical Stimulation device using Electroencephalography