Microbial activity measurements for anaerobic sludge digestion