Gain equalizer design method for cascaded S-band thulium doped fiber amplifier