Adaptive optics microspectrometer for cross-correlation measurement of microfluidic flows