Variability and inflation: Evidence from developed and developing countries