A density functional study of defect migration in gadolinium doped ceria.