A single-walled carbon nanotube wall paper as an absorber for simultaneously achieving passively mode-locked and Q-switched Yb-doped fiber lasers