Text this: Q-switched and mode-locked thulium doped fiber lasers with nickel oxide film saturable absorber