Second-harmonic generation in a plane nonlinear optical antiwaveguide