Spontaneous and stimulated recombination in p+-n-n+(AlGa)As-GaAs heterojunction laser diodes