Neural computations that underlie decisions about sensory stimuli