Measurement of extraction and absorption parameters in GaN-based photonic-crystal light-emitting diodes