A physics-based, accurate SPICE model of impact-ionization effects in bipolar transistors