Structural change and the macroeconomic effects of oil shocks: empirical evidence from the United States and Japan