Oil prices and inflation dynamics: Evidence from advanced and developing economies