Theory of wavelength discrimination in tritanopia