Half-factorial subrings of factorial domains