Status epilepticus prevention, ambulatory monitoring, early seizure detection and prediction in at-risk patients