Modeling and optimization in anaerobic bioconversion of complex substrates to acetic and butyric acids.