Optimal Velocity Planning for Autonomous Vehicles under Kinematic Constraints