Cognitive and neural bases of visual-context-guided decision-making