Afghans leave Iran in thousands as economy worsens