The dynamics and behavioral role of choice-predictive neurons in sensory cortex