Eco-friendly flight optimization