Variable-range hopping in YBa2(Cu1-xMx)3O6+γ[M=Fe, Zn]