Population and welfare in the European Union