The Detection of EEG Characteristic Waves by Using Locally Stationary Autoregressive Model