Nonlinear optical properties of chalcogenide As-S and As-Se glasses