Mathematical modeling of upflow anaerobic sludge blanket (UASB) reactor treating domestic wastewater.