Comparative Study of Surface-Mounted and Interior Permanent-Magnet Motors for High-Speed Applications