Study on Z-scan characteristics of cascaded nonlinear media