Sugar-based tertiary amino gemini surfactants with a vesicle-to-micelle transition in the endosomal pH range mediate efficient transfection in vitro.