Ab initio electric-field gradients and electron densities at 27Al, 57Fe, and 67Zn in the spinels ZnAl2O4 and ZnFe2O4.