Linking real activity and financial markets : the bonds, equity, and money (BEAM) model