Nonlinear optical properties of liquid crystals probed by Z-scan technique