Impact of distracting activities and drivers' cognitive failures on driving performance