Optical and electrical characterization of photonic crystal light emitting diodes