Iranian authorities have carried out arrests and executions of people suspected of links to Israeli intelligence agencies.