Collective memory, group minds, and the extended mind thesis