An approach to determining impact ionization rates in semiconductor junctions