Turkish president hails UN resolution on Palestinians