Polyphase motors supplied from a single-phase power supply or a DC power supply