Measuring the performance of brain-computer interfaces using the information transfer rate