Acidogenic fermentation of wastewater : influence of operational conditions and organic composition of the substrate