Plans to turn a former Edinburgh private members club into a new dental surgery have been approved by the council.