Development of an integrated reference electrode for cell culture monitoring with large arrays of pH sensors