Resonance-Enhanced Nonlinear Optical Effects