Cortical dynamics of visual change detection based on sensory memory