Is there an optimal level of leverage? The case of banks and non-bank institutions in Europe