Optimal Foreign Exchange Market Intervention with Rational Expectations