Synthesis, characterization, and physicochemical properties of a series of quaternary gemini surfactants with different spacer lengths