A CMOS-compatible fluid density sensor