Exclusive: Council spent £540,000 on Harrogate office scheme that failed to cover cleaning costs