Microfluidic manipulation of droplets using synchronous universal logic operations