The role of emotions in cognitive biases