Systematic wavelength dependence of the photodegradation of polymers doped with electro-optic chromophores