Reducing Cogging Torque in Surface-Mounted Permanent-Magnet Motors by Nonuniformly Distributed Teeth Method