Sustainable Production of Biofuels: Plant Optimization and Environmental Impact