Spectral sharpening of color sensors: diagonal color constancy and beyond