A combination of fourier transform and machine learning for fault detection and diagnosis of induction motors