Estimates of the demand for energy using cross-country consumption data