U.N. hits at Israel and Palestinian authorities