Plan to convert Harrogate office block into flats