Surface-normal second harmonic emission from AlGaAs high-contrast gratings