Electric Vehicles and the Smart Grid