Kinetics of anaerobic filter treatment of wastewaters