Theoretical study of the second-order nonlinear optical properties of [N]helicenes and [N]phenylenes.