Improved stability of C-doped GaAs grown by chemical beam epitaxy for heterojunction bipolar transistor applications