Understanding Flow-Induced Phase Inversion Of Emulsions Using Microfluidics