Thulium-doped fiber laser with switchable single-wavelength output using polarization-dependent loss