Enhanced light output in bilayer light-emitting diodes with film thickness variations