Regioselective nucleophilic ring opening of epoxides and aziridines derived from homoallylic alcohols