In Safe Hands: The Financial and Real Impact of Investor Composition Over the Credit Cycle