Measurement of nonlinear refractive index of organic materials by z-scan