Italy clinches deal with EU over measures to limit impact of gas prices on electricity costs