Optimal Charging Schemes for Electric Vehicles in Smart Grid: A Contract Theoretic Approach