Output-inflation cycles in an economy with staggered wage setting