Electric motor defects diagnosis based on kernel density estimation and Kullback-Leibler divergence in quality control scenario