Analytical Modeling, Optimization, and Electromagnetic Performance Analysis of Electrically Excited Flux Switching Motor