Effect of device package on optical, spectral, and thermal properties of InGaN/GaN near-ultraviolet lateral light-emitting diodes