The crisis between the United States and Iran has been put under sharp focus at a UN Security Council meeting.