Knaresborough Viaduct sold