Turning food waste into energy