Strong enhancement of second-harmonic generation in all-dielectric resonant waveguide grating