Prisoner exchange also includes five Iranians released by the US, and $6bn in Iranian assets unfrozen.