Bipolar junction transistor switching