Using microfluidic technology to measure the terahertz absorption properties of phase-changing thermoregulated emulsions