The contributions of visual and central attention to visual working memory