A novel closed-loop control algorithm to disrupt pathological neuronal oscillations – implementation and validation in vitro