Structural changes in European financial systems: the impact of the regulatory framework on investment in the European Union