Alternating units as free factors in the group of units of integral group rings