A cognitive theory of avoidance learning.