The United Arab Emirates has sparked anger among Palestinians by congratulating Israel on its so-called Independence Day, declared in 1948.