Quantification and characterisation of activated carbon in activated sludge by thermogravimetric and evolved gas analyses