Evolution of energy use in the agricultural sector