Ab initio impact ionization rate in GaAs, GaN, and ZnS