Voltage-based Control of DG Units and Active Loads in Smart Microgrids