Thermocapillary valve for droplet production and sorting.