Edinburgh is the third friendliest city in the UK, according to readers of a global travel magazine.