Brain computer interface using flash onset and offset visual evoked potentials