Iranian state television aired a video on Thursday in which two French citizens detained for “spying” in Iran in May are shown “confessing” to acting on behalf of a French security service. The video was broadcast amid weeks of unrest that Tehran has linked to foreign foes.