Carbon doping for AlGaAs/GaAs heterojunction bipolar transistors by molecular-beam epitaxy