Dynamic correlation between stock market and oil prices: The case of oil-importing and oil-exporting countries