The interplay between attention and long-term memory in affective habituation