A method for taking into account environmental impacts in the economic evaluation of energy systems