Discrepancy detection and developmental changes in attentional engagement in infancy