On the stability of the cubic spinel structure in the system CuMnO