Iran’s president said they would hold talks with the US if it returns to the 2015 nuclear deal