Interferometric method for determining the losses of spatially multi-mode nonlinear waveguides based on second