A macro–financial analysis of the corporate bond market