Neonatal seizure detection based on single-channel EEG: instrumentation and algorithms