Learning and Optimization for Price-based Demand Response of Electric Vehicle Charging