Refractive index sensing using a Si-based light source embedded in a fully integrated monolithic transceiver