Hydrothermal and enzymatic treatments of pineapple waste for energy production