Design and Operation of a Low-Cost Microgrid-Integrated EV for Developing Countries