The economic effects of demographic and educational change: empirical evidence and policy implications