Pyrolysis for recycling waste composites