Influence of Goal Alignment on Delegation Decisions to Human and Automated Collaborators