Mapping the emergence of a subcellular balance between excitatory and inhibitory synapses along dendrites