Palestine to apply to United Nations