Influence of hydraulic retention time on anaerobic digestion of pretreated sludge