Measurement of the fiber nonlinear coefficient by the spectral interferometry technique