Key-value memory in the brain