Pressure dependence of the electric field gradient on Cd in Zn and Sn hosts