The dynamic effects of shocks to wages and prices in the United States and the Euro Area