High temperature stabilities of ternary oxides in the SmCuO system