Guildford office building bought for millions to be turned into flats