Thermodynamics of calcium and oxygen in molten titanium and titanium-aluminum alloy