Behavioral and physiological encoding of value and validity in the visual cortex of the macaque