Two French citizens have been arrested in Iran on suspicion of collaborating with foreign intelligence agencies.