The nonlinear light output of NaI(Tl) detectors in the Modular Total Absorption Spectrometer