Emergence of functional subnetworks in layer 2/3 cortex induced by sequential spikes in vivo