Critical dynamics and interictal epileptiform discharge: a comparative analysis with respect to tracking seizure risk cycles