The United States and Iran say they will begin indirect talks on the nuclear deal, something seen as a sign of progress in the impasse between the two countries, after former President Donald Trump pulled the US out of the treaty in 2018.