London mayor backtracks after sparking row by likening Scottish nationalism to racism 5 years ago