Demand-pull versus cost-push inflation