Nikki Haley quits as US Ambassador to United Nations