Brain-computer interface for dreams