Target-specific synaptic and network mechanisms of memory consolidation