Doping-dependent device functionality of InP/InAlGaAs long-wavelength light-emitting transistors