Analysis and design of nonlinear systems in the frequency domain