Cars that speed up drivers’ reactions by reading brainwaves could be available in five years