Short- and long-run elasticities in energy demand