Spectral information coding by infrared photoreceptors