Relations between attentional and intentional neural systems