Real balance effects, determinacy and optimal monetary policy