Two passengers have been left seriously injured after a single-car crash on the A689 in County Durham.