Experimental study of high-power 1-MHz, 1.2-ns pulsed Yb fiber laser using gain-switching