Optimality And Flexibility In Utilizing Predictive Spatial Cues During Visual Search