The Choice of Institutions: The Role of Risk and Risk-Aversion