Towards a smart, inclusive and sustainable development. Investment in human capital and innovation. An empirical analysis