Nanophotonic integrated chip fabricated by CMOS technology