Obama: Israelis, Palestinians to make difficult compromises