A Semidistributed Interior Point Algorithm for Optimal Coordination of Automated Vehicles at Intersections