Order–disorder transition in cubic Cd6Yb and Cd6Ca