Europe’s inflation rate rose to 2.5% in March, according to official figures released Tuesday, as the Iran war sent energy prices sharply higher.