Speed‐loop frequency‐adaptive and current‐loop optimal harmonic periodic controllers for fault‐tolerant SPMSM drive systems