Sustainable strategies for the preservation of cereals and legumes in developing countries