Oil hits 3-week high as UAE quits OPEC, Iran talks stall