Monetary shocks in models with observation and menu costs