Harrogate council approves sale of Knaresborough flats