Social Preferences, Learning, and the Dynamics of Cooperation in Networked Societies: A Dialogue Between Experimental and Computational Approaches