Halogen atom participation in guiding the stereochemical outcomes of acetal substitution reactions