Monitoring the composition of droplets in digital microfluidic chips