Self-aligned npn bipolar transistors