Ambient illumination toggles a neuronal circuit switch in the retina and visual perception at cone threshold