Self-adaptive bearing fault diagnosis based on permutation entropy and manifold-based dynamic time warping