Analysis of Air-Gap Field Modulation and Magnetic Gearing Effects in Switched Flux Permanent Magnet Machines