On the Correspondence between Compositionality and Imitation in Emergent Neural Communication