Scientists' EEG cap gives rise to thought-controlled smart home