Defect thermodynamic and transport properties of nanocrystalline Gd-doped ceria