Energy from organic waste: influence of the process parameters on the production of methane and hydrogen