British academic Hedges thanks UK foreign ministry for safe return