Study on spike-and-wave detection in epileptic signals using t-location-scale distribution and the K-nearest neighbors classifier