Guided-mode resonance enhanced second-and third-harmonic generation in an azo-polymer resonant waveguide grating