Dynamic investigation of gain-clamped thulium and erbium-doped fiber amplifiers for reconfigurable WDM systems: comparative study