Visual search: Fundamental bounds, order parameters, and phase transitions