Helping Municipalities Transition to Electric Vehicles with Microgrids