Dynamics of directional coupling underlying spike-wave discharges