Pyrolysis analysis and solid residue stabilization of polymers, waste tyres and sewage sludge