Neural architectures for working memory and higher-order cognition