Assessment of olive wastes as energy source: pyrolysis, torrefaction and the key role of H loss in thermal breakdown