FRESCO: A Framework to Estimate the Energy Consumption of Computers