Determination of optical Kerr nonlinearity of a photonic bandgap structure by Z-scan measurement.