Synchronous motors having permanent magnets; Synchronous generators having permanent magnets with rotating armatures and stationary magnets