Theory of high field carrier transport and impact ionization in wurtzite GaN. Part II: Application to avalanche photodetectors