Tory candidate wins Sedgefield seat in general election