A computational perspective on the roles of affect in cognitive control.