Phased biofeedback approach for epileptic seizure control