The UK Transport Secretary Louise Haigh has resigned after The Times newspaper reported a historic criminal conviction.