Improving the representation of energy efficiency in an energy system optimization model