On Optimization of Demographic and Migration Policies in a Socio-Economic Growth Model