Foreign Office has told Britons to avoid "all but essential" travel to Israel and Palestine and Britain's embassy in Tehran is "temporarily closed".