Monitoring macro- and microemulsions using physical chemosensors