Charge-based modeling of heterojunction bipolar transistors for computer-aided design applications