Comparison of laser cooling of the lattice of wide-band-gap semiconductors using nonlinear or linear optical excitations