Neural spike sorting framework using selected wavelets coefficients and k-means clustering