Probing motivational state during agonistic encounters in animals