The Formation of Expectations, Inflation and the Phillips Curve