Investigation of nonlinear optical properties of various organic materials by the Z-scan method