A driver was stopped after leading police on a high-speed pursuit through East Hertfordshire, reaching speeds of up to 145mph, according to officers.