Assessment of Sustainability and Environmental Impacts of Renewable Energies: Focusing on Biogas and Biohydrogen (Biofuels) Production