Optimal Reciprocal Collision Avoidance in Three Dimensions