Atomic mechanism of liquid-glass transition for Ca7Mg3 alloy.