Inferring affective state through biased actions in rats