Surrey and Hampshire have been ranked the second and fourth most hazardous counties for motorists, according to new research.