One person was taken to hospital by ambulance crews following a three-car crash in County Durham.