The UK government has issued a travel warning for Israel and Palestine and withdrawn its diplomatic staff from Iran, as the US advises embassy officials in Jerusalem they can leave.