Nonlinear optical properties of confined excitons in clusters