A jet fuel made from food waste has the potential to reduce emissions from flying, scientists say.