Redevelopment of former Harrogate council headquarters approved