Miniaturized flow-through sensor array for methane fermentation monitoring