A microfluidic method to study demulsification kinetics.