Network planning and service reliability optimization in MV distribution systems