Infochemistry: Encoding information as optical pulses using droplets in a microfluidic device