Influence of metallurgical parameters on the mechanical properties and quality indices of Al-Si-Cu-Mg and Al-Si-Mg casting alloys