Vertical bipolar transistor in combination with diodes only