How commitment affects team performance