Mesophilic anaerobic digestion of waste activated sludge: influence of the solid retention time in the wastewater treatment process