Village Republics: Economic Conditions for Collective Action in South India.