CMOS nanophotonic chemi-sensor with integrated readout system