Human and optimal eye movement strategies in visual search