Structural features of Sm- and Gd-doped ceria studied by synchrotron X-ray diffraction and -raman spectroscopy