Second -harmonic resonance in GaAs/AlGaAs photonic crystal slabs