Study of heat treatment parameters for additively manufactured AlSi10Mg in comparison with corresponding cast alloy