Thermoelectric properties of the 3C, 2H, 4H, and 6H polytypes of the wide-band-gap semiconductors SiC, GaN, and ZnO