Bioenergetic mechanisms of seizure control