Nanocomposite Ceramics on the Basis of Magnesium, Cerium, and Samarium Oxides