SN1 and SN2 reactions of alcohols