UK inflation rose by 3.3% in March after surging fuel prices triggered by the Iran war drove up transport and food costs.