A review of sensor applications towards precise control of pyrolysis of solid waste and biomasses