A quantum description of impact ionization in semiconductors