The Foreign Office has temporarily pulled out its staff from Iran amid a growing threat of US air strikes.