Temporal dynamics of the attentional template during visual search