Hidden State Inference in the Midbrain Dopamine System