Heterogeneously Integrated Optofluidic Platforms For Cell Patterning, Sorting And Sensing