Segregated cortical mechanisms of visual working memory