Dependence of structure and Tc upon the distribution of iron over the copper sites in GdBa2(Cu1−xFex)3Oz