Israel and Palestine have agreed to resume talks, which would begin in September in Washington.