On the evaluation of power quality indices in distribution systems with dispersed generation