Optimal Speed Control for a Connected and Autonomous Electric Vehicle Considering Battery Aging and Regenerative Braking Limits