Reconstruction of continuous stimulus representations in visual working memory, perception and spatial attention