The heterojunction transistor and the space-charge-limited triode