Endogenous sensory discrimination and selection by a fast brain switch for a high transfer rate brain-computer interface