Minimizing power losses in distribution systems using GA in planning and operation: A case study for DGs and SCs