Microstructure and transport properties of Y-doped zirconia and Gd-doped ceria