Optimization of light emitting diodes based on bipolar double-barrier resonant-tunneling structures