Spectral Domain Z-scan Technique