Self-isolated bipolar transistors in integrated circuits