Merging microfluidics with microarray-based bioassays