Analysis of the temperature dependence of current gain in heterojunction bipolar transistors