The economics of coalition formation