A temporal difference account of avoidance learning | Synapse