The UN Security Council has held an emergency meeting in the wake of protests in Iran and US threats to intervene.