Monetary policy in a model with commodity and financial markets