Enhanced phosphorus availability and heavy metal removal by chlorination during sewage sludge pyrolysis.