The Bioeconomics of Cooperation