Acidification during anaerobic treatment of brewery wastewater