The Z-Scan technique applied to investigate optical properties of complex fluids