UN adopts Jerusalem resolution despite US threats