Scottish & Newcastle has confirmed that it has sold the freehold on its headquarters in Edinburgh.