Optimization of Electric Energy in Three-Phase Induction Motor by Balancing of Torque and Flux Dependent Losses