Inflation, Output, and Markup Dynamics with Forward-Looking Wage and Price Setters