Resonant generation of the second harmonic of the surface wave at the plasma-metal boundary