The evolution of compositionality and proto-syntax in signaling games