Evaluation of the losses in unbalanced three-phase power systems