Optimizing Delegation in Collaborative Human-AI Hybrid Teams