Using smart grid to mitigate the impact of electric vehicles on future electricity demand