Modeling knowledge sharing and team performance