Application of the SHS technique in the synthesis of the perovskite-type MgxCyNi3 compound