Effects of recirculation in anaerobic baffled reactors