Specialization and Diversification of Agricultural Production in the Light of Sustainable Development