Capacitive sensing of droplets for microfluidic devices based on thermocapillary actuation