Role of heterogeneous pyramidal cell populations and specific connectivity motifs in pattern completion and replay of memory sequences