Localization of edge states at triangular defects in periodic MoS2 monolayers