Intention, attention, and consciousness in probabilistic sequence learning