Monetary shocks in models with inattentive producers