Experimental investigation of thermomechanical effects during direct chill and electromagnetic casting of aluminum alloys