The Dynamics of Team Learning