Endogenous growth, monetary shocks and nominal rigidities