A UN conference aimed at working towards a two state solution between Israelis and Palestinians has been boycotted by both the US and Israel.