Insights into upcycling of waste plastics by thermal depolymerization