How does the power analyzer measure efficiency and losses in inverter-motor systems?