Development of a model for quality assessment of tomatoes and apricots