Design of a CMOS Current-to-Frequency Converter for Optical pH Sensing in a culture medium: towards integration in