Compositionality and Capacity in Emergent Languages