Imaging based optofluidic interferometer on a chip