Microfluidic production of liposomes through liquid--liquid phase separation in ternary droplets