Physicochemical and solution properties of quaternary-ammonium-salt-type amphiphilic gemini ionic liquids with spacers containing oxygen or nitrogen