County Durham and Darlington's NHS trust has paid out more than £12m in damages to patients who have suffered from misdiagnosis in the past five years, it can be revealed.