Reactions of aluminum(+) and magnesium(+) ions with alcohols and organic halides in the gas phase