Identifying and manipulating memory traces in cognitive and psychiatric disorders