Combining Market-Based Control with Distribution Grid Constraints when Coordinating Electric Vehicle Charging