Firm–bank credit network, business cycle and macroprudential policy