Ford has unveiled a technology-filled baseball cap to stop motorists falling asleep at the wheel