Optimal Reciprocal Collision Avoidance