Correlation of angular light profiles of light-emitting diodes to spatial spontaneous emissions from photonic crystals