A Study on Selecting Optimal Volt-VAR Control Curve of Smart Inverter Considering Hosting Capacity and System Loss