Authorities have carried out sweeping raids across Iran, arresting hundreds of people suspected of cooperating with Israel and the US.