A refurbishment of Leeds' iconic Corn Exchange building can go ahead after planning permission was granted.