Understanding the physics of hard and soft failure in silicon-germanium heterojunction bipolar transistors