Percolating hierarchical defect structures drive phase transformation in Ce1-xGdxO2-x/2 : a total scattering study