Deconstruction of a memory engram reveals distinct ensembles recruited at learning