Integrating real and financial markets in an agent-based economic model: an application to monetary policy design