Confidence grows with uncertainty in visual search