UN adopts global refugee compact despite US opposition