Essays on the impact of social interactions on economic outcomes