EEG-based cognitive state classification using a leakage-safe stacked ensemble learning approach | Synapse