Generation of different mode-locked states in a Yb-doped fiber laser based on nonlinear multimode interference.