Bandwidth correction in the spectral measurement of light-emitting diodes