Hot tearing of ternary Mg−Al−Ca alloy castings