Chromatic adaptation and the evolution of light color sensing in cyanobacteria