A review on green wastes pyrolysis for energy recovery