US President hints at possible deal with Iran, but warns of dire consequences if no agreement is reached.