Energy transition and CO2 emissions in Southern Europe: Italy and Spain (1861-2000)